package com.goodedeeds.domain.impl.db;

import com.goodedeeds.domain.IResourcePage;

/**
 * Created by IntelliJ IDEA.
 * User: rchiluve
 * Date: 3/12/14
 * Time: 7:20 PM
 * To change this template use File | Settings | File Templates.
 */
public class ResourcePage extends DomainChildResource implements IResourcePage {

    private Long pageResourceType;
    private Long pageResourceId;
    private int pageType;
    private String pageName;
    private String pageHeader;
    private String pageBody;
    private boolean defaultPage;

    public Long getPageId() {
        return getResourceId();
    }

    public void setPageId(Long pageId) {
        //setResourceId(pageId);
    }

    public Long getParentResourceType() {
        return pageResourceType;
    }

    public void setPageResourceType(Long pageResourceType) {
        this.pageResourceType = pageResourceType;
    }

    public Long getParentResourceId() {
        return pageResourceId;
    }

    public void setPageResourceId(Long pageResourceId) {
        this.pageResourceId = pageResourceId;
    }

    public String getPageName() {
        return pageName;
    }

    public void setPageName(String pageName) {
        this.pageName = pageName;
    }

    public String getPageHeader() {
        return pageHeader;
    }

    public void setPageHeader(String pageHeader) {
        this.pageHeader = pageHeader;
    }

    public String getPageBody() {
        return pageBody;
    }

    public void setPageBody(String pageBody) {
        this.pageBody = pageBody;
    }

    public int getPageType() {
        return pageType;
    }

    public void setPageType(int pageType) {
        this.pageType = pageType;
    }

    public boolean isDefaultPage() {
        return defaultPage;
    }

    public void setDefaultPage(boolean defaultPage) {
        this.defaultPage = defaultPage;
    }
}
